<div class="personal-center wrap" style="margin-top: 0px;">
    <!--左侧栏目 -->
    <div class="personal-left" style="width:100%;" >
        <ul>
            <if condition="isset($students)">
                <li>
                    <a id="select_child">
                        <i class="fa fa-user fa-fw"></i>
                        <span style="display: inline">
                             <foreach name="students" item="vo">
                                <if condition="isset($_SESSION['student_id']) && $_SESSION['student_id'] eq $vo.id ">
                                    {$vo.name}
                                </if>
                             </foreach>
                        </span>
                        <i class="fa fa-caret-right fa-fw" style="float:right;line-height: 40px;"></i>
                    </a>
                    <ul class="hoverul">
                            <foreach name="students" item="vo">
                                    <li>
                                        <a href="" class="hovera" data="{$vo.id}">
                                            <i class="fa fa-user fa-fw"></i>
                                            {$vo.name}
                                        </a>
                                    </li>
                            </foreach>
                        <li>
                            <a href="{:url('jiaxiaotong/ChildrenInfo/index')}">
                                <i class="fa fa-pencil-square-o fa-fw"></i>
                                编辑/增加孩子信息
                            </a>
                        </li>
                    </ul>
                </li>
            <else/>
                <li>
                    没有孩子
                </li>
            </if>
            <li>
                <a href="{:url('jiaxiaotong/JiaXiaoTong/seeCourse')}"
                    <php>if(strpos($_SERVER['PATH_INFO'], 'course')||strpos($_SERVER['PATH_INFO'], 'seehomework')||strpos($_SERVER['PATH_INFO'], 'ban')){echo 'class="now"';}</php>
                >
                    <i class="fa fa-book fa-fw"></i>
                    课程情况
                </a>
            </li>
            <li>
                <a href="{:url('student/FrontStudent/index')}"
                    <php>if(strpos($_SERVER['PATH_INFO'], 'front_student')){echo 'class="now"';}</php>
                >
                    <i class="fa fa-lock fa-fw"></i>
                    请假
                </a>
            </li>
            <li>
                <a href="{:url('user/FrontMessage/index')}"
                    <php>if(strpos($_SERVER['PATH_INFO'], 'message')){echo 'class="now"';}</php>
                >
                    <i class="fa fa-envelope-o fa-fw"></i>
                    我的消息
                </a>
            </li>
            <!--<li>-->
                <!--<a href="{:url('jiaxiaotong/JiaXiaoTong/seehomework')}"-->
                    <!--<php>if(strpos($_SERVER['PATH_INFO'], 'homework')){echo 'class="now"';}</php>-->
                <!--&gt;-->
                    <!--<i class="fa fa-file-text-o fa-fw"></i>-->
                    <!--查看作业-->
                <!--</a>-->
            <!--</li>-->
            <li>
                <a href="{:url('jiaxiaotong/JiaXiaoTong/viewscore')}"
                    <php>if(strpos($_SERVER['PATH_INFO'], 'score')){echo 'class="now"';}</php>
                >
                    <i class="fa fa-bar-chart fa-fw"></i>
                    查看成绩
                </a>
            </li>
            <li>
                <a href="{:url('jiaxiaotong/JiaXiaoTong/viewcard')}"
                    <php>if(strpos($_SERVER['PATH_INFO'], 'scholarship')){echo 'class="now"';}</php>

                >
                    <i class="fa fa-money fa-fw"></i>
                    奖学金/牛牛卡
                </a>
            </li>
            <li>
                <a href="{:url('jiaxiaotong/JiaXiaoTong/helpAward')}"
                    <php>if(strpos($_SERVER['PATH_INFO'], 'stipend')){echo 'class="now"';}</php>
                >
                    <i class="fa fa-hand-paper-o fa-fw"></i>
                    申请助学金
                </a>
            </li>
            <li>
                <a href="{:url('order/FrontOrder/index')}"
                    <php>if(strpos($_SERVER['PATH_INFO'], 'front_order')){echo 'class="now"';}</php>
                >
                    <i class="fa fa-bars fa-fw"></i>
                    我的订单
                </a>
            </li>
        </ul>
    </div>
</div>


